package com.jiaertangshi.jiaer.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jiaertangshi.jiaer.dto.Torder;

public interface TorderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Torder record);

    int insertSelective(Torder record);

    Torder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Torder record);

    int updateByPrimaryKey(Torder record);
    
    int insertOrderListBatch(@Param("billid")Integer billid,@Param("userid")Integer userid,@Param("shopid") Integer shopid,@Param("toders") List<Torder> Toders);
}